# Created by: Koop Mast <kwm@rainbow-runner.nl>
# $FreeBSD: head/multimedia/py-gstreamer1/Makefile 367622 2014-09-08 13:26:15Z tijl $

PORTNAME=	gstreamer
PORTVERSION=	1.4.0
CATEGORIES=	multimedia python
MASTER_SITES=	http://gstreamer.freedesktop.org/src/gst-python/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX=	1
DISTNAME=	gst-python-${PORTVERSION}

MAINTAINER=	multimedia@FreeBSD.org
COMMENT=	Python bindings for GStreamer

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

CONFLICTS=	py27-gstreamer-1.4.*

USES=		gmake libtool pathfix pkgconfig python:3 tar:xz
USE_GNOME=	py3gobject3
USE_GSTREAMER1=	yes
GNU_CONFIGURE=	yes
PLIST_SUB=	VERSION="1.0"
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip
USE_PYTHON=	py3kplist

.include <bsd.port.mk>
